#ifndef RRPRIM_H
#define RRPRIM_H

#include "rrtype.h"
#include "rreye.h"
#include "rrlight.h"

enum RRPrimType {RR_SPHERE, RR_PLANE};

class RRPrim
{
private:
    RRPrimType t;
    RREye e;
    RRLight l;
    RRVec3 Pc;
    float Rad;
    RRVec3 P;
    float D;
    float Coefficient;
    float Yplane;

public:
    RRPrim();
    void rrSetYPlane(float y);
    void rrSetSphere(float xc, float yc, float zc, float r);
    float rrGetDistance(RREye arg);
    RRVec3  rrGetColor(RRLight arg);
};

#endif // RRPRIM_H
